package com.crane.framework.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;

/** 用户角色关联表 @TableName sys_user_role */
@TableName(value = "sys_user_role")
@Data
public class UserRole implements Serializable {
  /** id */
  @TableId private String id;

  /** 用户id */
  private String userId;

  /** 角色id */
  private String roleId;

  @Serial
  @TableField(exist = false)
  private static final long serialVersionUID = 1L;
}
